﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Asion.Dapper
{
    /// <summary>
    /// code 生成
    /// </summary>
    public interface IGenerateCode
    {
        string GenerateCode();
    }


    /// <summary>
    /// 简单code生成
    /// </summary>
    public class SimpleGenerateCode : IGenerateCode
    {
        public string GenerateCode()
        {
            return Guid.NewGuid().ToString();
        }
    }
}
